#!/usr/bin/env bash
i_brew() {
  set -e
  apt-get install -y curl
  yes '' | /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  echo "brew installed"
}
if [ "$1" == "i" ]; then
  i_brew
fi
